package com.ch.engine.daily.abstractTest;

/**
 * 通知接口 - 演示多重继承
 *
 * @author wangchunhui
 * @date 2025/1/25
 */
public interface NotificationInterface {
    
    void sendNotification(String message);
    
    default void sendSuccessNotification(double amount) {
        sendNotification("支付成功：" + PaymentInterface.formatAmount(amount));
    }
}